package com.think.teaching.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.think.teaching.model.Class;
import com.think.teaching.model.StudentInfo;

import java.util.List;

/**
 * <p>
 * 班级 服务类
 * </p>
 *
 * @author think
 * @since 2020-08-12
 */
public interface ClassService extends IService<Class> {
	
	Class AddNewClass(Class _class);
		
	Class UpdateClass(Class _class);
	
	Class SetClassState(Integer id,Integer state);
	
	List<Class> SearchClassWithKey(String key,Boolean withoutBan);
	
	
	Class GetClassInfo(Integer id);
	
	IPage<StudentInfo> ListClassStudents(Integer page,Integer count,Boolean withoutBan);
}
